package com.yootk;
import java.io.*;
public class YootkDemoWriter {
    public static void main(String[] args) throws Exception {
        File file = new File("H:" + File.separator + "muyan" + File.separator + "vip" + File.separator + "yootk.txt");
        if (!file.getParentFile().exists()) file.getParentFile().mkdirs();
        try (Writer out = new FileWriter(file)) {
            out.write("www.yootk.com\n");
            out.flush();
        }
    }
}